﻿<UserControl
    x:Class="HoloJson.MiniDriver.BuilderDemoControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:HoloJson.MiniDriver"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400" MinHeight="200" MinWidth="300">
    
    <Grid>
    	<StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Top">
    		<StackPanel Orientation="Horizontal" VerticalAlignment="Top">
                <Button x:Name="ButtonSerialize" Content="Serialize" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Click="ButtonSerialize_Click"/>
                <Button x:Name="ButtonOpen" Content="Open JSON File" IsEnabled="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Click="ButtonOpen_Click"/>
            </StackPanel>
    		<StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Stretch" Margin="0,5,0,0">
                <TextBox x:Name="TextBoxOutputJSON" TextWrapping="Wrap" Text="" PlaceholderText="(Output JSON)" AcceptsReturn="True" IsReadOnly="True" MinHeight="200" MinWidth="300" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
    		</StackPanel>
    	</StackPanel>

    </Grid>
</UserControl>
